<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%@ include file="/common/pre/header.jsp" %>
    <script src="${ctx}/statics/js/backend/backend.js"></script>
   
</head>
<body>
	<c:if test="${user == null}">
		<c:redirect url="login.jsp"></c:redirect>
	</c:if>
		
<div class="i_bg bg_color">
    <!--Begin 用户中心 Begin -->
    <div class="m_content">
   
        <div class="m_right" id="content">
            <div class="mem_tit">
            </div>
            <br>
            <form action="/1and5Demo/courses/updateCourses" method="post" id="userAdd" onsubmit="return checkUser();">
                <table border="0" class="add_tab" style="width:930px;" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="135" align="right">课时编号</td>
                        <td colspan="3" style="font-family:'宋体';">
                            <input type="text" value="${cqu.id}" class="add_ipt" name="id"/>
                            
                        </td>
                    </tr>
                   
                        
                    
                    
                   
                     <tr>
                        <td width="135" align="right">上课时段</td>
                        <td>
                          
                           <select name="classsId" id="peroidId">

									<c:forEach items="${periodList}" var="desc">
									<c:if test="${desc.id == cqu.peroidId }">
										<option value="${desc.id }" selected="selected">${desc.periodName }</option>
									</c:if>
									<c:if test="${desc.id != cqu.peroidId }">
										<option value="${desc.id }">${desc.periodName }</option>
									</c:if>
									</c:forEach>
							</select>
                        </td>
                    </tr>
         
         <tr>
							<td width="135" align="right">教 员</td>
							<td>
								<select name="teacherId" >
									
								

									<c:forEach items="${teacherList}" var="desc">
											<c:if test="${desc.id == cqu.teacherId}">
												
												<option value="${desc.id }" selected="selected" >${desc.teacherName }</option>
												
											
											</c:if>
										<c:if test="${desc.id != cqu.teacherId}">
											<option value="${desc.id }">${desc.teacherName }</option>
										</c:if>
									</c:forEach>
								</select>
							</td>
						</tr>
							
          <tr>
                        <td width="135" align="right">所在班级</td>
                        <td>
                          
                           <select name="classsId" id="classsId">

									<c:forEach items="${classroomInfo}" var="desc">
									<c:if test="${desc.id == cqu.classroomId }">
										<option value="${desc.id }" selected="selected">${desc.className }</option>
									</c:if>
									<c:if test="${desc.id != cqu.classroomId }">
										<option value="${desc.id }">${desc.className }</option>
									</c:if>
									</c:forEach>
							</select>
                        </td>
                    </tr>
         
                   
                
								
                              
			                    
			                    
			         
									
                    <tr>
                        <td></td>
                        <td>
                                    <input type="submit" value="修改信息" class="s_btn" >
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
 
</div>
</body>
</html>


